package com.jade.zsy.finance.entity;

import com.jade.bss.db.IdEntity;
import lombok.Data;

import javax.persistence.Column;
import javax.persistence.Entity;
import javax.persistence.Table;
import java.math.BigDecimal;

/**
 * 应收账款明细
 * User: jinya
 * Date: 2017/6/3
 * Time: 14:18
 * TEL :17701640710   MAIL:2009_jinya@163.com
 * To change this template use File | Settings | File Templates.
 */
@Data
@Entity
@Table(name = "ZSY_FIN_RECEIVABLE_DETAIL")
public class ReceivableDetail extends IdEntity {
    @Column(name = "recordNo", updatable = false, nullable = false, length = 25)
    private String recordNo; /** 单据编号 **/
    @Column(name = "finItemId", updatable = true, nullable = true)
    private long finItemId=0; /** 收支项目 **/
    @Column(name = "accountNo", updatable = true, nullable = true)
    private String accountNo; /** 结算账户 **/
    @Column(name = "amount", nullable = true,updatable = true,length = 100)
    private BigDecimal amount=new BigDecimal(0);//结算金额
    @Column(name = "type", updatable = true, nullable = true)
    private String type; /** 结算方式 **/
    @Column(name = "settleNo", updatable = true, nullable = true)
    private String settleNo; /** 结算号 **/
    @Column(name = "remark", updatable = true, nullable = true)
    private String remark; /** 备注 **/
    public String getRecordNo() {
        return recordNo;
    }

    public void setRecordNo(String recordNo) {
        this.recordNo = recordNo;
    }

    public long getFinItemId() {
        return finItemId;
    }

    public void setFinItemId(long finItemId) {
        this.finItemId = finItemId;
    }

    public String getAccountNo() {
        return accountNo;
    }

    public void setAccountNo(String accountNo) {
        this.accountNo = accountNo;
    }

    public BigDecimal getAmount() {
        return amount;
    }

    public void setAmount(BigDecimal amount) {
        this.amount = amount;
    }

    public String getType() {
        return type;
    }

    public void setType(String type) {
        this.type = type;
    }

    public String getSettleNo() {
        return settleNo;
    }

    public void setSettleNo(String settleNo) {
        this.settleNo = settleNo;
    }

    public String getRemark() {
        return remark;
    }

    public void setRemark(String remark) {
        this.remark = remark;
    }
}
